package rs.dalao.syc.doctor.prescription.service;/*
 *   @author:Casin
 *   @date:2023/8/12
 *   @code:
 */

import org.springframework.security.core.annotation.AuthenticationPrincipal;
import rs.dalao.syc.common.pojo.authentication.CurrentPrincipal;
import rs.dalao.syc.common.pojo.vo.PageData;
import rs.dalao.syc.doctor.prescription.pojo.param.PresAddNewParam;
import rs.dalao.syc.doctor.prescription.pojo.vo.PatientListVO;
import rs.dalao.syc.doctor.prescription.pojo.vo.PatientNameVO;

import java.util.List;

public interface IPrescriptionService {
    List<PatientNameVO> getAll();

    int PrescriptionAddNew(PresAddNewParam addNewParam, @AuthenticationPrincipal CurrentPrincipal currentPrincipal);

    int update(Long id);

    PageData<PatientListVO> getPatientList(Long doctorId,Integer pageNum);
}
